package com.tmt.im.wallet.config.beans;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * @Description TODO
 * @Author wuyi
 * @Date 2024/9/2 16:07
 * @Version 1.0
 **/
@Getter
@Setter
public class RedPackageRule {

    @Schema(name = "maxAmount", description = "红包的最大额度，单位：分")
    Long maxAmount;

    @Schema(name = "minAmount", description = "红包的最小额度，单位：分")
    Long minAmount;

    @Schema(name = "maxSplitCount", description = "红包的最大领取人数")
    long maxSplitCount;

    @Schema(name = "expireMinutes", description = "默认红包的过期时间，单位：小时")
    private Integer expireMinutes;

}
